package edu.mju.admin.service;

import edu.mju.admin.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author CBL
 * @since 2021-01-10
 */
public interface SysRoleService extends IService<SysRole> {

    Map<String, Object> findRoleByUserId(Integer userId);

    void saveUserRoleRealtionShip(Integer userId, Integer[] roleId);

    List<SysRole> selectRoleByUserId(Integer id);
}
